package top.lixunda.ecommerce.server.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import top.lixunda.common.validate.EnableXumValidator;

/**
 * @author LiXunda
 * @version time:2019/10/10 16:30
 */
@SpringBootApplication
@EnableEurekaClient
@EnableRedisHttpSession
@EnableAsync
@EnableXumValidator
@EnableFeignClients(basePackages = {
        "top.lixunda.ecommerce.server.auth.api.feign",
        "top.lixunda.ecommerce.server.good.api.feign"
})
public class MiddleUserApp {

    public static void main(String[] args) {
        SpringApplication.run(MiddleUserApp.class, args);
    }

}
